package suanfa.exam2;

import java.util.*;

/**
 * @Author JetZhang
 * Package:suanfa.exam2
 * Description:
 * @Date 2021/11/17
 */
public class t1 {
    public static void main(String[] args) {
        int cock = 5;
        int hen = 3;
        int count = 0;
        for (int i = 1; i <= 50; i++) {
            for (int j = 1; j < 50; j++) {
                if (cock * i + hen * j <= 100) {
                    System.out.println("x=" + i + "  y=" + j);
                    count++;
                }
            }
        }
        System.out.println("几种：" + count);
    }

}
